
package com.atom.office.fc.hssf.util;

/**
 * TODO: column information(width, hidden)

 * 日期:            2012-4-20
 * <p>
 *


 */
public class ColumnInfo
{   
    public ColumnInfo(int _firstCol, int _lastCol, int _colWidth, int style, boolean hidden)
    {
        this._firstCol = _firstCol;
        this._lastCol = _lastCol;
        this._colWidth = _colWidth;
        this.setStyle(style);
        this.hidden = hidden;
    }
    
    /**
     * @return Returns the _firstCol.
     */
    public int getFirstCol()
    {
        return _firstCol;
    }
    /**
     * @param _firstCol The _firstCol to set.
     */
    public void setFirstCol(int _firstCol)
    {
        this._firstCol = _firstCol;
    }
    /**
     * @return Returns the _lastCol.
     */
    public int getLastCol()
    {
        return _lastCol;
    }
    /**
     * @param _lastCol The _lastCol to set.
     */
    public void setLastCol(int _lastCol)
    {
        this._lastCol = _lastCol;
    }
    /**
     * @return Returns the _colWidth.
     */
    public int getColWidth()
    {
        return _colWidth;
    }
    /**
     * @param _colWidth The _colWidth to set.
     */
    public void setColWidth(int _colWidth)
    {
        this._colWidth = _colWidth;
    }
    /**
     * @return Returns the hidden.
     */
    public boolean isHidden()
    {
        return hidden;
    }
    /**
     * @param hidden The hidden to set.
     */
    public void setHidden(boolean hidden)
    {
        this.hidden = hidden;
    }
    
    
    /**
     * @return Returns the style.
     */
    public int getStyle()
    {
        return style;
    }

    /**
     * @param style The style to set.
     */
    public void setStyle(int style)
    {
        this.style = style;
    }


    private int _firstCol;
    private int _lastCol;
    private int _colWidth;
    private boolean hidden;
    private int style;
}
